package com.chat.common.user.service;

import com.chat.common.common.domain.dto.RequestInfo;
import com.chat.common.common.domain.vo.resp.ApiResult;
import com.chat.common.user.domain.dto.ItemInfoDTO;
import com.chat.common.user.domain.dto.SummeryInfoDTO;
import com.chat.common.user.domain.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.common.user.domain.vo.req.BadgeResp;
import com.chat.common.user.domain.vo.req.BlackReq;
import com.chat.common.user.domain.vo.req.user.ItemInfoReq;
import com.chat.common.user.domain.vo.req.user.SummeryInfoReq;
import com.chat.common.user.domain.vo.resp.UserInfoResp;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author <a href="https://www.linxin.cc">lin</a>
 * @since 2024-09-12
 */

public interface UserService{

    long register(User insert);

    UserInfoResp getUserInfo(Long uid);

    /**
     * 修改用户名称
     * @param uid
     * @param name
     * @return
     */
    void modifyName(Long uid, String name);

    List<BadgeResp> badges(Long uid);

    void wearingBadge(Long uid,Long itemId);

    void black(BlackReq blackReq);

    List<SummeryInfoDTO> getSummeryUserInfo(SummeryInfoReq req);

    List<ItemInfoDTO> getItemInfo(ItemInfoReq req);
}
